<?php

namespace App\Models\Home;

use Illuminate\Database\Eloquent\Model;

class Comment extends Model
{
    //禁用时间戳自动管理
    public $timestamps = false;

    //获取评论对应的微博
    public function weibo()
    {
        return $this->belongsTo('App\Models\Home\Weibo');
    }
}
